// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
@import '../../../common/styles/colors.scss';

.insights-command-button {
    .command-bar-button-icon {
        line-height: 16px;
    }

    &:disabled {
        color: $disabled-text;

        .command-bar-button-icon {
            color: $disabled-text;
        }
    }

    &:active:not(:disabled) {
        .command-bar-button-icon {
            color: $primary-text;
        }
    }

    // high contrast overrides to make a.insights-command-button
    // match button.insights-command-button
    @media screen and (forced-colors: active) {
        color: buttontext;

        .command-bar-button-icon {
            color: buttontext;
        }

        &:hover {
            .command-bar-button-icon {
                color: buttontext;
            }
        }
    }
}
